package com.graduation.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.graduation.common.annotation.Excel;
import com.graduation.common.core.domain.BaseEntity;

/**
 * 选课申请对象 tb_task
 * 
 * @author zxs
 * @date 2024-11-14
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选课申请id */
    private Long taskId;

    /** 选课名称 */
    @Excel(name = "选课名称")
    private String taskName;

    /** 选课描述 */
    @Excel(name = "选课描述")
    private String taskDesc;

    /** 学生id */
    @Excel(name = "学生id")
    private Long stuId;

    /** 状态(1为待指导老师通过，2为待监管人员通过，3为驳回，4为通过) */
    @Excel(name = "状态(1为待指导老师通过，2为待监管人员通过，3为驳回，4为通过)")
    private Long status;

    /** 开题报告 */
    @Excel(name = "开题报告")
    private String taskReport;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskDesc(String taskDesc) 
    {
        this.taskDesc = taskDesc;
    }

    public String getTaskDesc() 
    {
        return taskDesc;
    }
    public void setStuId(Long stuId) 
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setTaskReport(String taskReport) 
    {
        this.taskReport = taskReport;
    }

    public String getTaskReport() 
    {
        return taskReport;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("taskDesc", getTaskDesc())
            .append("stuId", getStuId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("taskReport", getTaskReport())
            .toString();
    }
}
